package cn.stylefeng.guns.modular.cb.service.impl;

import cn.stylefeng.guns.modular.cb.mapper.CbCustomerMapper;
import cn.stylefeng.guns.modular.cb.model.params.CbCustomerParam;
import cn.stylefeng.guns.modular.cb.model.result.CbCustomerResult;
import cn.stylefeng.guns.modular.cb.service.CbCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 客户接口
 */
@Service
public class CbCustomerServiceImpl implements CbCustomerService {

    @Autowired
    private CbCustomerMapper cbCustomerMapper;

    /**
     * 获取用户信息（员工+学生）
     * @param paramCondition
     * @return
     */
    @Override
    public CbCustomerResult getCustomer(CbCustomerParam paramCondition) {
        return cbCustomerMapper.getCustomer(paramCondition);
    }
}
